﻿<%@ Page Title="" Language="C#" MasterPageFile="~/aboutus/AboutusMasterPage.master" AutoEventWireup="true" CodeBehind="ad_ppl.aspx.cs" Inherits="Com.Web.coffinegurunaru.aboutus.ad_ppl" %>
<%@ Register TagPrefix="UC" TagName="Paging" Src="~/aboutus/usercontrol/paging.ascx" %>
<%@ Import Namespace="Com.Library.DB.Advertise" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="server">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="33">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="/images/aboutus/tit_03.gif" width="343" height="50"></td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><!--tab -->
              <table border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><a href="/aboutus/ad_cf.aspx"><img src="/images/aboutus/ad_tab01.gif" width="104" height="17"></a></td>
                <td><a href="/aboutus/ad_ppl.aspx"><img src="/images/aboutus/ad_tab02o.gif" width="106" height="17"></a></td>
                <td><a href="/aboutus/ad_newspaper.aspx"><img src="/images/aboutus/ad_tab03.gif" width="106" height="17"></a></td>
                <td><a href="/aboutus/ad_etc.aspx"><img src="/images/aboutus/ad_tab04.gif" width="106" height="17"></a></td>
                <td><img src="/images/aboutus/ad_tab_bg.gif" width="161" height="17"></td>
              </tr>
            </table>
              <!--tab 끝 --></td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
          </tr>
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="500" align="center" valign="top"><!--내용보기 -->
                  <table width="98%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td style="width:272px">&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
                    <td valign="top"><img src="<%=this.AdvertiseInfo.ImageURL %>" width="272" height="400"></td>
                    <td align="center" valign="top"><table width="88%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td class="dark_gray"><%=this.AdvertiseInfo.Title %></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><p class="small_gray1"><%=this.AdvertiseInfo.Content.ReplaceBRTag()%></p></td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td height="30" align="right" class="big_purple"><a href="<%=this.AdvertiseInfo.ImageURL %>" target="_blank"><img src="/images/aboutus/bt_big.jpg" width="60" height="16"></a></td>
                    <td valign="bottom" class="big_purple">&nbsp;</td>
                  </tr>
                  </table>
                  <!--내용보기 끝 --></td>
                <td width="14" valign="top"><img src="/images/aboutus/ad_line.gif" width="14" height="447"></td>
                <td width="274" valign="top"><!--리스트 -->
                  <table width="235" border="0" cellspacing="0" cellpadding="0">
<% for (int i = 0; i < AdvertiseList.Count; i ++ ) { %>
<%		if ( i % 2 == 0 ) { %>
                  <tr>
                    <td>&nbsp;</td>
                    <td>&nbsp;</td>
                  </tr>
                  <tr>
<%		} %>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td align="center"><a href="<%=this.GetURL(AdvertiseList[i].AdvertiseNo) %>"><img src="<%=AdvertiseList[i].ThumbURL%>" width="75" height="111"></a></td>
                      </tr>
                      <tr>
                        <td height="30" align="center"><a href="<%=this.GetURL(AdvertiseList[i].AdvertiseNo) %>" class="small_gray"><%=AdvertiseList[i].ListTitle.HTMLEncode()%></a></td>
                      </tr>
                    </table></td>
<%		if ( i % 2 == 1 ) { %>
                  </tr>
<%		} %>
<% } %>
<%		if (AdvertiseList.Count % 2 == 0 ) { %>
                    <td>&nbsp;</td>
                  </tr>
<%		} %>
                  <tr>
                    <td colspan="2">&nbsp;</td>
                  </tr>
                  <tr>
                    <td height="50" colspan="2" align="center"><UC:Paging ID="UC_Paging" runat="server" /></td>
                  </tr>
                </table>
                  <!--리스트 끝 --></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td align="center"><table width="98%" border="0" cellspacing="0" cellpadding="0">
            </table></td>
          </tr>
        </table>

</asp:Content>
